package com.bdqn.mzc.model;

public enum  ErrorCodes {
    //系统异常
    SYSTEM_ERROR(10000, "System Exception - {0}"),
    //参数异常
    PARAM_ERROR(11000, "Parameter exception - {0}"),

    VERIFY_ERROR(12000, "Plug in exception - {0}"),
    AUTH_ERROR(13000, "Authentication exception - {0}"),
    BUS_ERROR(14000, "Business Exception - {0}"),
    ;
    Integer code;

    String message;

    ErrorCodes(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
